package com.ruoyi.zhjd.collect.modules.product.xm;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * 生产车辆任务
 */
public class TaskVehicleModel {
    protected String type;// 数据类型
    protected String sourceType;// 数据源类型，如:XM、欣盟；BS、博硕
    protected String stationCode;// 拌合站编号
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date sendTime;// 推送时间

    private Long id;  //自动编号
    private String vehicle;  //车号
    private String driver;  //司机姓名
    private Long taskId;  //生产任务ID
    private Double prodMete;  //本车设定方量
    private Double morMete;  //设定砂浆方量
    private Double totMete;  //已完成方量
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date prodTimB;  //开始生产时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date prodTimE;  //生产完成时间
    private String invoice;  //发货单编号
    private String operator;  //操作员姓名
    private String machineNumber;  //生产机号
    private String productMode;  //生产方式：0_自动，1_手动
    private String carOwner;  //车主姓名
    private Long gfjb;  //干粉搅拌时间
    private Long sjjb;  //砂浆搅拌时间
    private Long jbsj;  //砼搅拌时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sdsj;  //送达时间
    private Long report;  //上传代码，0=未上传
    private Long rwcc;  //生产时，任务单累计送货车次
    private Double rwfl;  //生产时任务单累计生产方量
    private String uid;  //车次唯一标号

    private TaskModel task; //生产任务
    private List<PieceModel> pieceList; //盘次

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getVehicle() {
        return vehicle;
    }

    public void setVehicle(String vehicle) {
        this.vehicle = vehicle;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Double getProdMete() {
        return prodMete;
    }

    public void setProdMete(Double prodMete) {
        this.prodMete = prodMete;
    }

    public Double getMorMete() {
        return morMete;
    }

    public void setMorMete(Double morMete) {
        this.morMete = morMete;
    }

    public Double getTotMete() {
        return totMete;
    }

    public void setTotMete(Double totMete) {
        this.totMete = totMete;
    }

    public Date getProdTimB() {
        return prodTimB;
    }

    public void setProdTimB(Date prodTimB) {
        this.prodTimB = prodTimB;
    }

    public Date getProdTimE() {
        return prodTimE;
    }

    public void setProdTimE(Date prodTimE) {
        this.prodTimE = prodTimE;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getMachineNumber() {
        return machineNumber;
    }

    public void setMachineNumber(String machineNumber) {
        this.machineNumber = machineNumber;
    }

    public String getProductMode() {
        return productMode;
    }

    public void setProductMode(String productMode) {
        this.productMode = productMode;
    }

    public String getCarOwner() {
        return carOwner;
    }

    public void setCarOwner(String carOwner) {
        this.carOwner = carOwner;
    }

    public Long getGfjb() {
        return gfjb;
    }

    public void setGfjb(Long gfjb) {
        this.gfjb = gfjb;
    }

    public Long getSjjb() {
        return sjjb;
    }

    public void setSjjb(Long sjjb) {
        this.sjjb = sjjb;
    }

    public Long getJbsj() {
        return jbsj;
    }

    public void setJbsj(Long jbsj) {
        this.jbsj = jbsj;
    }

    public Date getSdsj() {
        return sdsj;
    }

    public void setSdsj(Date sdsj) {
        this.sdsj = sdsj;
    }

    public Long getReport() {
        return report;
    }

    public void setReport(Long report) {
        this.report = report;
    }

    public Long getRwcc() {
        return rwcc;
    }

    public void setRwcc(Long rwcc) {
        this.rwcc = rwcc;
    }

    public Double getRwfl() {
        return rwfl;
    }

    public void setRwfl(Double rwfl) {
        this.rwfl = rwfl;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public TaskModel getTask() {
        return task;
    }

    public void setTask(TaskModel task) {
        this.task = task;
    }

    public List<PieceModel> getPieceList() {
        return pieceList;
    }

    public void setPieceList(List<PieceModel> pieceList) {
        this.pieceList = pieceList;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }
}
